namespace EyeSoft.Wpf.Facilities
{
	using EyeSoft.Wpf.Facilities.Input;

	public abstract class AutoRegisterViewModel : ViewModel
	{
		protected AutoRegisterViewModel()
		{
			CommandsDiscoverFactory.Create().Discover(this);
		}

		protected void Close()
		{
			DialogService.Close(this);
		}
	}
}